<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>DEMO</title>
    <script type="text/javascript" src="js/jquery/jquery-1.11.3.js"></script>
    <script type="text/javascript" src="js/image-crop.js"></script>
</head>
<body>
<a href="javascript:;" class="btn-trigger">触发</a>

</body>
<script type="text/javascript">

    $(function(){
         $(".btn-trigger").imageCrop({
             width:140,
             height:140,
             onConfirm:function(imageData){
                 console.log(imageData);
             }
         });
     });

</script>
</html>